package cn.itsy.service.warninfo;

import cn.itsy.dao.warninfo.WarnInfoDao;
import cn.itsy.pojo.ResultPojo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @description:
 * @author: MisterGay
 * @date: 2019-06-04 10:46
 */
@Service(value = "warnInfoServiceimpl")
public class WarnInfoServiceimpl implements WarnInfoService {
    @Resource(name = "warnInfoDaoimpl")
    private WarnInfoDao warnInfoDao;

    @Override
    public void insertWarnInfo(String sql, ResultPojo resultPojo) {
        this.warnInfoDao.insertWarnInfo(sql, resultPojo);
    }
}
